package com.lian.pet.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("新增宠物饲养记录")
public class AddPetFeedinglogsDTO {
    @ApiModelProperty(value = "宠物ID")
    private String petId;
    @ApiModelProperty(value = "食物内容")
    private String food;
    @ApiModelProperty(value = "食物总量")
    private Double amount;
    @ApiModelProperty(value = "喂食时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date feedingTime;
}
